package com.example.yjhteam.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.yjhteam.mapper.PlayersMapper;
import com.example.yjhteam.service.IPlayersService;
import com.yc.yjh.entity.Players;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 选手表 服务实现类
 * </p>
 *
 * @author ly
 * @since 2023-07-24
 */
@Service
public class PlayersServiceImpl extends ServiceImpl<PlayersMapper, Players> implements IPlayersService {

    @Resource
    PlayersMapper playersMapper;
    @Override
    public List<Players> selectPlayerByTid(int id) {
        return playersMapper.players(id);
    }
}
